package com.ww.springboot.boot.baseTest.design.责任链.son;

import com.ww.springboot.boot.baseTest.design.责任链.son.su.AbstractHandler;

/**
 * todo
 *
 * @author wanwei
 * @since 2021-05-25 22:38
 */
public class FirstHandler extends AbstractHandler {


    public FirstHandler(AbstractHandler handler) {
        super(handler);
    }

    @Override
    public void handler() {
        System.out.println("--------first--------");
        this.nextHandler.handler();

    }
}
